%% set const for V7_exp
xMin = -1;
xMax = 298;
x = xMin:xMax;    
tao1 = 16;
tao2 = 5;
A = 1;

%% set const for V7_filter
K = 9;
L = 5;
M = 16;

%% set fullscreen for graphics and text style
figure('Units', 'normalized', 'OuterPosition', [0 0 1 1]);
set(0,'DefaultAxesFontSize',14,'DefaultAxesFontName','Times New Roman');

%% calc, debug off
y = V4_exp(x, tao1, tao2, A);
y2 = V4_filter(y, K, L, M, false, x);
maxY = max(y);

%% drawing functions on different planes
%% draw V4_exp
subplot(1, 2, 1);
plot(x, y, 'b-', 'LineWidth', 2);
V4_graph_settings('Function Exp', true, 'Time', 'Signal', xMin, xMax, 0, maxY);

%% draw V4_filter
subplot(1, 2, 2);
plot(x, y2, 'b-', 'LineWidth', 2);
V4_graph_settings('Function Filter', true, 'Time', 'Signal', xMin, xMax, 0, maxY);
pause();

close();